package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.GoodsClassify;
import com.ecoolex.ying.space.entity.GoodsClassifyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface GoodsClassifyMapper {
    long countByExample(GoodsClassifyExample example);

    int deleteByExample(GoodsClassifyExample example);

    int deleteByPrimaryKey(Integer classifyId);

    int insert(GoodsClassify record);

    int insertSelective(@Param("record") GoodsClassify record, @Param("selective") GoodsClassify.Column ... selective);

    GoodsClassify selectOneByExample(GoodsClassifyExample example);

    List<GoodsClassify> selectByExample(GoodsClassifyExample example);

    GoodsClassify selectByPrimaryKey(Integer classifyId);

    GoodsClassify selectByPrimaryKeyWithLogicalDelete(@Param("classifyId") Integer classifyId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") GoodsClassify record, @Param("example") GoodsClassifyExample example, @Param("selective") GoodsClassify.Column ... selective);

    int updateByExample(@Param("record") GoodsClassify record, @Param("example") GoodsClassifyExample example);

    int updateByPrimaryKeySelective(@Param("record") GoodsClassify record, @Param("selective") GoodsClassify.Column ... selective);

    int updateByPrimaryKey(GoodsClassify record);

    int batchInsert(@Param("list") List<GoodsClassify> list);

    int batchInsertSelective(@Param("list") List<GoodsClassify> list, @Param("selective") GoodsClassify.Column ... selective);

    int logicalDeleteByExample(@Param("example") GoodsClassifyExample example);

    int logicalDeleteByPrimaryKey(Integer classifyId);
}